home *** CD-ROM | disk | FTP | other *** search
- Path: gail.ripco.com!mambuhl
- From: mambuhl@ripco.com (Martin Ambuhl)
- Newsgroups: comp.lang.c
- Subject: Re: Multiplication Pr 2/2
- Date: 1 Feb 1996 10:08:59 GMT
- Organization: Ripco Communications, Inc.
- Message-ID: <4eq3fr$oiq@gail.ripco.com>
- NNTP-Posting-Host: golden.ripco.com
-
- >>> Continued from previous message
-
-
-
- >float timer(int reset){
- > static clock_t start;
- > float elapsed;
-
- > elapsed = (float)(clock() - start) / CLOCKS_PER_SEC;
- > if(reset){
- > start = clock();
- > }
- > return(elapsed);
- >}
-
- --
- * Martin Ambuhl net: mambuhl@ripco.com
- * Chicago, IL (USA)
-